<div class="navbar navbar-inverse">
    <div class="row">
        <div class="navbar-header col-md-4">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-responsive-collapse">
                <span class="sr-only">Toggle Navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="__MODULE__/TeaQuiz/quiz?cad={$cad}" class="navbar-brand left">
                <i class="fa fa-long-arrow-left"></i>
                班级
            </a>
        </div>
        <div class="collapse navbar-collapse navbar-responsive-collapse">
            <div class="col-md-4">
                <ul class="nav navbar-nav nav-question">
                    <li <if condition="[action] eq edit">class="active"</if>><a href="__MODULE__/TeaQuiz/question?qd={$qd}">编辑试卷</a></li>
                    <li <if condition="[action] eq analyze">class="active"</if>><a href="__MODULE__/QuizResult/analyze?qd={$qd}">测试分析</a></li>
                </ul>
            </div>
            <div class="col-md-4">
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="##" data-toggle="dropdown" class="dropdown-toggle">
                            {$Think.session.name}<span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li ><a href="__MODULE__/TeaSettings/info"><span class="glyphicon glyphicon-user"></span> 个人设置</a></li>
                            <li ><a href="__MODULE__/Auth/logout"><span class="glyphicon glyphicon-log-out"></span> 安全退出</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>